﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectEulerSolutions
{
    class Problem1
    {
        public static string Calculate()
        {
            int limit = 1000;

            string result = "";


            int total = 0;

            for (int i = 0; i < limit; i++)
            {
                if (i % 3 == 0)
                    total += i;
                else if (i % 5 == 0)
                    total += i;
            }

            result = total.ToString();

            return result;
        }
    }
}
